import '../constant.dart';

class Util {
  static String img(String url) {
    if (url.startsWith('http')) {
      return url;
    }
    return Constant.IMG_URL_PREFIX + url;
  }

  static String assets(String url) {
    return "assets/images/" + url;
  }
}
